package com.shop.cloud.domain.hongfu;

import java.time.OffsetDateTime;
import java.util.Date;
import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.shop.cloud.common.mapper.OffsetDateTimeToIso8601Serializer;
import com.shop.cloud.common.mybatis.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * goods_order_feature-goods_order_feature
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class GoodsOrderFeature extends BaseEntity{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 订单id
	 */
	@ApiModelProperty(value = "订单id")
	 private Long orderId;
	
	/**
	 * 选择的商品规格值
	 */
	@ApiModelProperty(value = "选择的商品规格值")
	 private String value;
    
	@ApiModelProperty(value = "0 现金 1 积分")
	private int type;
	
	@ApiModelProperty(value = "商品价格")
	private float price;
    
	
    public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public float getPrice() {
		return price;
	}

	public void setPrice(float price) {
		this.price = price;
	}

    public GoodsOrderFeature(){
    
    }
    
    public Long getOrderId() {
        return this.orderId;
    }
    
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }
    
    public String getValue() {
        return this.value;
    }
    
    public void setValue(String value) {
        this.value = value;
    }

}